﻿using FinMkts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;

namespace FinMkts.DataProvider.Internal.UnitTests
{
    /// <summary>
    ///This is a test class for MarketPriceTest and is intended
    ///to contain all MarketPriceTest Unit Tests
    ///</summary>
    [TestClass()]
    public class MarketPriceTest
    {
        /// <summary>
        ///A test for Errors
        ///</summary>
        [TestMethod()]
        public void errors_is_initialized_to_empty_readonly_collection()
        {
            var target = new MarketPrice(); 
            Assert.IsNotNull(target.Errors);
            Assert.AreEqual(0, target.Errors.Count);
            Assert.IsTrue(target.Errors.IsReadOnly);
        }

    }
}
